package com.bx.implatform.growUp.service;

import com.bx.implatform.growUp.entity.EmergencyUser;
import com.bx.implatform.growUp.entity.EventCount;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface DispatchService {

    /**
     * 救援人员列表
     *
     * @return
     */
    List<EmergencyUser> emergencyUserList(Integer pageIndex, Integer pageSize);

    /**
     * 获取事件数统计
     *
     * @return
     */
    Map<String, Map<String, Object>> eventCount();

    /**
     * 获取今日事件
     *
     * @return
     */
    Map<String, Map<String, Object>> todayEventCount();

    /**
     * 获取事件类型占比
     *
     * @return
     */
    Map<String, Map<String, Object>> eventProportion();

    /**
     * 事件类型分析
     *
     * @return
     */
    Map<String, List<EventCount>> eventAnalyse(String queryType);

    /**
     * 分公司事件处置效率排名
     *
     * @return
     */
    Map<String, Object> eventEfficiency();

    /**
     * 当期防汛、除雪
     *
     * @return
     */
    Map<String, Object> floodSnow(String queryType, String type);
}
